package com.bussiness.system.model;

import java.util.Date;

public class MyRoleEntity {
    private Long id;

    private String name;

    private String roleCode;

    private String description;

    private String roleStatus;

    private Date gmtCreate;

    private Date gmtModified;

    public MyRoleEntity(Long id, String name, String roleCode,  String description, String roleStatus, Date gmtCreate, Date gmtModified) {
        this.id = id;
        this.name = name;
        this.roleCode = roleCode;
        this.description = description;
        this.roleStatus = roleStatus;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public MyRoleEntity() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getRoleStatus() {
        return roleStatus;
    }

    public void setRoleStatus(String roleStatus) {
        this.roleStatus = roleStatus == null ? null : roleStatus.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}